package structurepattern.flyweight;

public class Circle implements Shape {
	private int x, y, radius;
	private String color;
	
	public Circle(String color) {
		this.color = color;
	}
	
	@Override
	public void draw() {
		System.out.println("Shape: Circle, position = ( " + x + ", " + y + "), radius = " + radius + ", color = " + color);
	}
	
	public void setX(int x) {
		this.x = x;
	}
	
	public void setY(int y) {
		this.y = y;
	}
	
	public void setRadius(int radius) {
		this.radius = radius;
	}
}
